package me.zhengjie.hr.employeebase.service.dto;

import lombok.Data;
import java.util.List;
import me.zhengjie.annotation.Query;
import java.sql.Timestamp;
/**
* @author ZGZ
* @date 2020-04-15
*/
@Data
public class EmployeeBaseQueryCriteria{

    /** 精确 */
    @Query
    private Integer id;

    /** 精确 */
    @Query
    private String empName;

    /** 精确 */
    @Query
    private String sex;

    /** 精确 */
    @Query
    private String idCard;

    /** 精确 */
    @Query
    private String nativePlace;

    /** 精确 */
    @Query
    private String nation;

    /** 精确 */
    @Query
    private String highestEdu;

    /** 精确 */
    @Query
    private String highestDegree;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String firstSchool;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String firstMajor;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String secondSchool;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String secondMajor;

    /** 精确 */
    @Query
    private String title;

    /** 精确 */
    @Query
    private String professionalLevel;

    /** 精确 */
    @Query
    private String phone;

    /** 精确 */
    @Query
    private String relationMember;

    /** 精确 */
    @Query
    private String familyPhone;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String address;

    /** 精确 */
    @Query
    private String maritalStatus;

    /** 精确 */
    @Query
    private String childrenSituation;

    /** 精确 */
    @Query
    private String politicsStatus;

    /** 精确 */
    @Query
    private String secretLevel;

    /** 精确 */
    @Query
    private String workerNumber;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String email;

    /** 精确 */
    @Query
    private Integer centerBelong;
    /** 精确 */
//    @Query
    @Query(propName = "centerName",joinName = "centerBase",type = Query.Type.INNER_LIKE)
    private String centerName;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String leaveReason;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String leaveInf;

    /** 模糊 */
    @Query(propName = "join",type = Query.Type.GREATER_THAN)
    private Timestamp join1;

    /** 模糊 */
    @Query(propName = "join",type = Query.Type.LESS_THAN)
    private Timestamp join2;


    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String formerUnit;

    /** 模糊 */
    @Query
    private String isLeave;

}